package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 我的训练记录
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/3/5 11:23
 */
@Data
@TableName(value = "TRAINING_USER",autoResultMap = true)
@Entity(name = "TRAINING_USER")
@AccEntity(value = "我的训练记录", type = EntityType.SERVICE_ENTITY)
public class TrainingUser extends DomainBaseEntity<TrainingUser> {

    /**
     * 状态：0-待提交 1-已提交
     */
    @Column()
    private Integer status;

    /**
     * 训练日期
     */
    @Column
    private LocalDate trainingDate;

    /**
     * 训练部门id
     */
    @Column()
    private String departmentId;

    /**
     * 训练人员id
     */
    @Column()
    private Long userId;

    /**
     * 训练日期类型：0-上午 1-下午
     */
    @Column()
    private Integer trainingDateType;

    /**
     * 训练地点
     */
    @Column()
    private String trainingPlace;


    /**
     * path
     */
    @Column()
    private String path;

}
